package com.ssy.lingxi.pay.api.model.vo.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import javax.validation.constraints.PositiveOrZero;
import java.io.Serializable;

/**
 * 冻结授信VO
 * @author 伍将
 * @date 2020/12/1
 * @version 2.0.0
 */
public class FrozenCreditVO implements Serializable {

    private static final long serialVersionUID = 7708707118633493735L;
    /**
     * 会员id
     */
    @NotNull(message = "会员id要大于0")
    @Positive(message = "会员id要大于0")
    private Long memberId;

    /**
     * 会员角色id
     */
    @NotNull(message = "会员角色id要大于0")
    @Positive(message = "会员角色id要大于0")
    private Long roleId;

    /**
     * 父级会员id
     */
    @NotNull(message = "父级会员id要大于0")
    @Positive(message = "父级会员id要大于0")
    private Long parentMemberId;

    /**
     * 父级会员角色id
     */
    @NotNull(message = "父级会员角色id要大于0")
    @Positive(message = "父级会员角色id要大于0")
    private Long parentMemberRoleId;

    /**
     * 冻结状态: 0-正常, 1-冻结
     */
    @NotNull(message = "冻结状态要大于等于0")
    @PositiveOrZero(message = "冻结状态要大于等于0")
    private Integer status;

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getParentMemberId() {
        return parentMemberId;
    }

    public void setParentMemberId(Long parentMemberId) {
        this.parentMemberId = parentMemberId;
    }

    public Long getParentMemberRoleId() {
        return parentMemberRoleId;
    }

    public void setParentMemberRoleId(Long parentMemberRoleId) {
        this.parentMemberRoleId = parentMemberRoleId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
